/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package eu.easyedu.dictionary.api.service.events;

import eu.easyedu.dictionary.api.model.Word;
import java.util.EventObject;
import java.util.List;

/**
 *
 * @author hlavki
 */
public class SearchResultEvent extends EventObject {

    public SearchResultEvent(List<Word> result) {
        super(result);
    }

    @SuppressWarnings("unchecked")
    public List<Word> getSearchResult() {
        return (List<Word>)getSource();
    }
}
